package com.fuxi.cloud.common.vo;

/**
 * DictQuery
 *
 * @Author: 扫地僧
 * @CreateTime: 2021-05-03
 */
public class DictQuery {
    private String table;
    private String code;
    private String text;
    private String keyword;
    private String codeValue;

    public DictQuery() {
    }

    public String getTable() {
        return this.table;
    }

    public String getCode() {
        return this.code;
    }

    public String getText() {
        return this.text;
    }

    public String getKeyword() {
        return this.keyword;
    }

    public String getCodeValue() {
        return this.codeValue;
    }

    public void setTable(String table) {
        this.table = table;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setText(String text) {
        this.text = text;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public void setCodeValue(String codeValue) {
        this.codeValue = codeValue;
    }

    @Override
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof DictQuery)) {
            return false;
        } else {
            DictQuery var2 = (DictQuery)o;
            if (!var2.canEqual(this)) {
                return false;
            } else {
                label71: {
                    String var3 = this.getTable();
                    String var4 = var2.getTable();
                    if (var3 == null) {
                        if (var4 == null) {
                            break label71;
                        }
                    } else if (var3.equals(var4)) {
                        break label71;
                    }

                    return false;
                }

                String var5 = this.getCode();
                String var6 = var2.getCode();
                if (var5 == null) {
                    if (var6 != null) {
                        return false;
                    }
                } else if (!var5.equals(var6)) {
                    return false;
                }

                label57: {
                    String var7 = this.getText();
                    String var8 = var2.getText();
                    if (var7 == null) {
                        if (var8 == null) {
                            break label57;
                        }
                    } else if (var7.equals(var8)) {
                        break label57;
                    }

                    return false;
                }

                String var9 = this.getKeyword();
                String var10 = var2.getKeyword();
                if (var9 == null) {
                    if (var10 != null) {
                        return false;
                    }
                } else if (!var9.equals(var10)) {
                    return false;
                }

                String var11 = this.getCodeValue();
                String var12 = var2.getCodeValue();
                if (var11 == null) {
                    if (var12 == null) {
                        return true;
                    }
                } else if (var11.equals(var12)) {
                    return true;
                }

                return false;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof DictQuery;
    }

    @Override
    public int hashCode() {
        boolean var1 = true;
        byte var2 = 1;
        String var3 = this.getTable();
        int var8 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
        String var4 = this.getCode();
        var8 = var8 * 59 + (var4 == null ? 43 : var4.hashCode());
        String var5 = this.getText();
        var8 = var8 * 59 + (var5 == null ? 43 : var5.hashCode());
        String var6 = this.getKeyword();
        var8 = var8 * 59 + (var6 == null ? 43 : var6.hashCode());
        String var7 = this.getCodeValue();
        var8 = var8 * 59 + (var7 == null ? 43 : var7.hashCode());
        return var8;
    }

    @Override
    public String toString() {
        return "DictQuery(table=" + this.getTable() + ", code=" + this.getCode() + ", text=" + this.getText() + ", keyword=" + this.getKeyword() + ", codeValue=" + this.getCodeValue() + ")";
    }
}
